<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
  <body>
		<div class="container">
			<div id="wrapper">
				<div class="row">
					<div class="col-md-3">
						<div class="row">
							<div id="links">
								<div class="row">
									<div class="col-md-6">
										<a href="#">
											<div class="index">
											Strona główna
											</div>
										</a>
									</div>
									<div class="col-md-6">
										<a href="#">
											<div class="news">
											Aktualności
											</div>
										</a>
									</div>
								</div>
								<div class="row">
									<div class="col-md-6">
										<a href="#">
											<div class="contact">
											Kontakt
											</div>
										</a>
									</div>
									<div class="col-md-6">
										<a href="#">
											<div class="products">
											Produkty
											</div>
										</a>
									</div>
								</div>
							</div>
						</div>
						<div class="row" >
							<div id="informations">
								<form action="<?php echo(url_for('main/products')); ?>" method="post">
								<h1>Wyszukaj kurs dla siebie!</h1>
								<h4>
									<span class="label label-default">Język</span>
									<select name="language">
                                    <?php foreach(LanguageTable::getInstance()->findAll() as $language): ?>
                                      <option><?php echo $language->getName(); ?> </option>
                                    <?php endforeach; ?>
									</select>
								</h4>
								<h4>
									<span class="label label-default">Kategoria</span>
									<select name="cattegory">
									<?php foreach(CattegoryTable::getInstance()->findAll() as $cattegory): ?>
                                      <option><?php echo $cattegory->getName(); ?> </option>
                                    <?php endforeach; ?>
									</select>
								</h4>
								<button class="btn btn-large btn-primary btn-block" type="submit">Wyszukaj!</button>
								</form>
							</div>
						</div>
					</div>
					<div class="col-md-9">
						<div id="container">
							<div id="content">
								<?php echo $sf_content; ?>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
